/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package idoms;

import java.util.Random;

/**
 *
 * @author Ngocvan
 */
public class GenRandom {
    Random rand;

    public GenRandom() {
        this.rand = new Random();
    }
    public int rollDice(){
        return rand.nextInt(6) + 1;
    }
}
